package com.kandroid.designpattern.state.demo2;

public interface ATMAction extends ATMState {
    void changeState(String state);     //改变状态

    boolean hasEnoughCardMoney();       //ATM金额是否充足？
    void withdrawMoney();               //ATM出款

    //新增：抽象方法
    boolean hasEnoughATMMoney();        //ATM里是否还有现金？
}
